package com.example.utils.config;

import  com.example.utils.config.DBTypeEnum;

import java.lang.annotation.*;

/**
 * @description 数据源注解
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface MyDataSource {
    DBTypeEnum value() default DBTypeEnum.DB1;
}